package cn.cscamp.gateway.executor;

import cn.cscamp.gateway.executor.result.SessionResult;
import cn.cscamp.gateway.mapping.HttpStatement;

import java.util.Map;

/**
 * 执行器接口
 *
 * @author whx
 */
public interface Executor {

    SessionResult exec(HttpStatement httpStatement, Map<String, Object> params) throws Exception;
}
